package com.zjxf.base.bean.po;

import com.zjxf.base.common.IdEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 长征故事
 *
 * @author ZhangWei
 * @date 2021/4/6/006 18:55
 */
@Setter
@Getter
@Entity
@Table(name = "cms_story")
public class CmsStory extends IdEntity {

    /**
     * 故事名称
     */
    @Column(name = "name",columnDefinition = "varchar(64) comment '故事名称'")
    private String name;

    /**
     * 故事简介
     */
    @Column(name = "intro",columnDefinition = "varchar(255) comment '故事简介'")
    private String intro;

    /**
     * 路线 以，分割
     */
    @Column(name = "path",columnDefinition = "varchar(255) comment '故事路线'")
    private String path;

    /**
     * 故事内容
     */
    @Column(name = "content_html",columnDefinition = "longtext comment '故事内容'")
    private String contentHtml;
}
